export default {
  state:{
      flag:false,
      code:'', //二维码
  },
  mutations:{
    show(state){
      state.flag = !state.flag
    },
    getcode(state,code){
      state.code = code
    }
  },

  namespaced: true  //保证多个模块间的数据不冲突
}